 
<div class="panel panel-default">

    <ul class="nav nav-tabs" style="margin-top: 5px; padding-left: 10px;">
  
        <li class="active">
         <a>编辑资料 </a></li>
       
    </ul>

 
	<div class="panel-body">

<form action=""  method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
 
    <div class="form-group">
        <label class="col-xs-12 col-sm-3 col-md-2 control-label">
                <span style='color:red'>*</span> 类型 </label>
        <div class="col-sm-9 col-xs-12">
            <input type="radio" name="data[iscompany]"  class=" "
                    {if $item['iscompany']==0}checked{/if}  value="0" /> 普通会员 
            
            <input type="radio" name="data[iscompany]"  class=" "
                    {if $item['iscompany']==1}checked{/if}   value="1" /> 公司经纪人
            
        </div>
    </div> 

<div class="form-group">
    <label class="col-xs-12 col-sm-3 col-md-2 control-label">
            <span style='color:red'>*</span>姓名 </label>
    <div class="col-sm-9 col-xs-12">
        <input type="text" name="data[truename]" id="truename" class="form-control"
                        placeholder="必填项 "  value="{$item['truename']}" />
                
    </div>
</div>
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">
            <span style='color:red'>*</span>手机号 </label>
	<div class="col-sm-9 col-xs-12">
		<input type="text" name="data[mobile]" id="mobile" class="form-control"
                        placeholder="请输入业务手机号 "  value="{$item['mobile']}" />
                
	</div>
</div>
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">
            <span style='color:red'>*</span>会员昵称 </label>
	<div class="col-sm-9 col-xs-12">
		<input type="text" name="data[nickname]" id="nickname" class="form-control"
                        placeholder="必填项 "  value="{$item['nickname']}" />
                
	</div>
</div>
 
    <div class="form-group">
         <label class="col-xs-12 col-sm-3 col-md-2 control-label">
                <span style='color:red'></span>岗位头衔 </label>
        <div class="col-sm-4 col-xs-6">
                <div class="input-group   form-control">
               <?php  echo
                    form_element::select( $cgid_option,'data[cgid]','cgid',$item['cgid']);
                    ?>        
                </div>
                </div>          
    </div>
<div class="form-group">

	<label class="col-xs-12 col-sm-3 col-md-2 control-label">头像</label>

	<div class="col-sm-9 col-xs-12">

		{php echo tpl_form_field_image('thumb', $item['avatar'], '', array('extras' => array('text' => 'readonly')))}

	</div>

</div>
 
    <div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">
            <span style='color:red'>*</span>公司部门 </label>
	<div class="col-sm-9 col-xs-12">
		<input type="text" name="data[company]" id="company" class="form-control"
                        placeholder="所属公司部门 "  value="{$item['company']}" />
                
	</div>
</div>
     <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label">
                <span style='color:red'></span>归属门店 </label>
            <div class="col-sm-6 col-xs-3">
                <div class="input-group   form-control">
                      <?php  echo
     form_element::select($admin,'data[shopid]','shopid',$item['shopid']);
     ?>        

                </div>
            </div>
         
    </div>  
    
 
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">
            <span style='color:red'>*</span>业务信息 </label>
	<div class="col-sm-9 col-xs-12">
            <textarea  name="data[desc]" id="desc" class="form-control">{$item['desc']}</textarea>
                
	</div>
</div>
 
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">推荐位置</label>
	<div class="col-sm-9 col-xs-12" >
            <label for="isrecommand" class="checkbox-inline">
		<input type="checkbox" name="data[istop]" value="1"
                       id="istop" {if $item['istop'] == 1}checked="true"{/if} /> 置顶
            </label>
             <label for="isrecommand" class="checkbox-inline">
		<input type="checkbox" name="data[isyou]" value="1"
                       id="isyou" {if $item['isyou'] == 1}checked="true"{/if} /> 优秀（优）
            </label>
             <label for="isrecommand" class="checkbox-inline">
		<input type="checkbox" name="data[ischeng]" value="1"
                       id="ischeng" {if $item['ischeng'] == 1}checked="true"{/if} /> 诚信（诚）
            </label>
             
        </div>
</div>
     
    <div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">
            <span style='color:red'>*</span>状态 </label>
	<div class="col-sm-9 col-xs-12">
		<input type="radio" name="data[disabled]"  class=" "
                     {if $item['disabled']==0}checked{/if}  value="0" />启用
                
                <input type="radio" name="data[disabled]"  class=" "
                     {if $item['disabled']==1}checked{/if}   value="1" />禁用
                
	</div>
</div>
   
<div class="form-group ">
    <label class="col-xs-12 col-sm-3 col-md-2 control-label">操作</label>
    <div class="col-sm-2 col-xs-12">
                <input type="submit" name="submit" value="提交" class="btn btn-primary" />
                <input type="hidden" name="referer" value="{$_SERVER['HTTP_REFERER']}"/>
                <input type="hidden" name="token" value="{$_W['token']}" />
                
        </div>
    <div class="col-sm-2">
        <a href="{$_SERVER['HTTP_REFERER']}" class="btn btn-info">返回</a>
    </div>
</div>
 </form>

 </div>
 </div>

 